#!/usr/bin/env bash
export LANG=en_US.UTF-8
cd /wapp/uniiof/users/spider/woego-spider/spider

for f in lib/*.jar; do
        CLASSPATH=${CLASSPATH}:$f;
done

CLASSPATH=$CLASSPATH:target/spider.jar

CURR_DATE=$(date +%Y-%m-%d)
echo $CURR_DATE
java -classpath ${CLASSPATH} v2.SnygMain pinpai.txt utf-8 ../info/$CURR_DATE/snyg/
